include_directories(.)

aux_source_directory(. SRC_TESTS)
aux_source_directory(common SRC_TESTS_COMMON)
aux_source_directory(messaging SRC_TESTS_MSG)

#add_executable(eaglet-tests ${SRC_TESTS})
add_executable(eaglet-tests main.cpp ${SRC_TESTS_COMMON} ${SRC_TESTS_MSG})
#add_executable(eaglet-tests test.cpp)

target_link_libraries(eaglet-tests eaglet-common eaglet-config eaglet-event eaglet-messaging)

file(COPY common/schema.json DESTINATION ./)
file(COPY messaging/messaging.json DESTINATION ./)
